package org.eweb4j.config.bean;

import org.eweb4j.util.xml.tag.XmlTag;
import org.eweb4j.util.xml.tag.XmlTagType;
/**
 * EWeb4J用来存取配置信息的bean
 * @author cfuture.aw
 * @since v1.a.0
 *
 */
public class ConfigIOC {
	@XmlTag("true")
	private String open ;
	@XmlTag("true")
	private String debug ;
	@XmlTag("logs/ioc.log")
	private String logFile ;
	@XmlTag("5")
	private String logMaxSize;
	@XmlTag(type = XmlTagType.classType)
	private IOCXmlFiles iocXmlFiles;
//	@XmlTag(canRead = true, canWrite = true, type = XmlTagType.attriType, value = "org.eweb4j.config.bean.ConfigIOC")
//	private String xmlBean = this.getClass().getName() ;
	
	
	@Override
	public String toString() {
		return "ConfigIOC [open=" + open + ", debug=" + debug + ", logFile="
				+ logFile + ", logMaxSize=" + logMaxSize + ", iocXmlFiles="
				+ iocXmlFiles + "]";
	}
	public String getOpen() {
		return open;
	}
	public void setOpen(String open) {
		this.open = open;
	}
	public String getDebug() {
		return debug;
	}
	public void setDebug(String debug) {
		this.debug = debug;
	}
	public String getLogFile() {
		return logFile;
	}
	public void setLogFile(String logFile) {
		this.logFile = logFile;
	}
	public IOCXmlFiles getIocXmlFiles() {
		return iocXmlFiles;
	}
	public void setIocXmlFiles(IOCXmlFiles iocXmlFiles) {
		this.iocXmlFiles = iocXmlFiles;
	}
//	public String getXmlBean() {
//		return xmlBean;
//	}
//	public void setXmlBean(String xmlBean) {
//		this.xmlBean = xmlBean;
//	}
	public String getLogMaxSize() {
		return logMaxSize;
	}
	public void setLogMaxSize(String logMaxSize) {
		this.logMaxSize = logMaxSize;
	}
}
